@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --healthy-color: #206F7B;
    --unhealthy-color: #9E7176;

    --master-box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.05);
    --master-box-shadow-hover: 0px 0px 32px rgba(0, 0, 0, 0.1);
    --transition-duration: 0.3s;
    --transition: 0.3s;

    --master-border-radius: 20px;
    scroll-behavior: smooth;
}

body {
    background: url('../images/BlurBG.png') cover;
    font-family: 'Noto Sans', sans-serif;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 300;
}

p {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
}

.footer {
    height: 80px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: #fff;
    box-shadow: var(--master-box-shadow);
}

.nav {
    position: fixed;
    bottom: 16px;
    left: calc(50vw - 86px);
    z-index: 2;
}

.nav ul li {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border-radius: 6px;
    margin-right: 6px;
}

.nav ul li.active {
    background-color: #000;
    width: 12px;
    height: 12px;
    border-radius: 6px;
}

h3 {
    color: var(--healthy-color);
    font-weight: 300;
}

.poor {
    color: var(--unhealthy-color);
}

h5 {
    margin: 36px 0 36px 0;
    font-weight: 300;
}

.insight {
    height: 80px;
    border-radius: var(--master-border-radius);
    width: 100%;
    margin-bottom: 16px;
    background-color: #fff;
    font-size: 20px;
    padding: 20px 20px 0 64px;
    box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.05);
}

.downTrend {
    background: url('../images/downGraph.svg') no-repeat 3% 50%;
    padding-top: 10px;
}

.upTrend {
    background: url('../images/upGraph.svg') no-repeat 3% 50%;
    padding-top: 10px;
}

.age {
    background: url('../images/time.svg') no-repeat 3% 50%;
}

.agePoor {
    background: url('../images/timePoor.svg') no-repeat 3% 50%;
}

span {
    color: var(--healthy-color);
    font-size: 24px;
    padding-left: 40px;
    text-align: right;
}

#forward {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background-color: #fff;
    position: fixed;
    bottom: 10px;
    right: 20px;
    background-image: url('../images/right.svg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    display: block;
    transform: scale(1);
    box-shadow: var(--master-box-shadow);
    z-index: 2;
}

.back {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background-color: #fff;
    position: fixed;
    bottom: 10px;
    left: 20px;
    background-image: url('../images/right.svg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transform: rotate(180deg);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.exit {
    width: 60px;
    height: 60px;
    position: fixed;
    top: 20px;
    left: 20px;
    background-image: url('../images/exit.svg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition-duration: 0.3s;
    z-index: 3;
    transform: scale(1);
}

#forward:hover,
.exit:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition-duration: 0.3s;
}

.back:hover {
    cursor: pointer;
    transform: scale(1.1) rotate(180deg);

    transition-duration: 0.3s;
}

@media only screen and (min-width: 992px) {
    .container {
        margin-top: calc(50vh - 250px);
        max-width: 800px;
    }

    .back {
        bottom: calc(50vh - 30px);
    }

    #forward {
        bottom: calc(50vh - 30px);
    }

    .footer {
        display: none;
    }
}

@media only screen and (min-width: 600px) and (max-width: 992px) {
    .container {
        max-width: 400px;
    }

    .back {
        bottom: calc(50vh - 30px);
    }

    #forward {
        bottom: calc(50vh - 30px);
    }

    .footer {
        display: none;
    }
}

#slide {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0vh;
    left: 0vw;
    transition-duration: 0.3s;
    overflow-x:hidden;
}

#slide2 {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0vh;
    right: -100vw;
    transition-duration: 0.3s;
    overflow-x: hidden;
}